package com.geekjob1120.geekjob1120pay.service;

import com.geekjob1120.geekjob1120pay.modle.Pay;
import com.geekjob1120.geekjob1120pay.modle.PayWay;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component("UNIONPAY")
public class UnionPayService extends PayService{

    private boolean success = true;

    @Override
    protected boolean pay(Pay pay) {
        log.info("银联在线支付");
        return success;
    }
}
